<extend name="Public/base"/>

<block name="body">
    <div class="main-title">
        <h2>{$_title}</h2>
    </div>
    <form action="" method="post" class="form-horizontal">
        <div class="form-item">
            <label class="item-label">单位简介<span class="check-tips"></span></label>
            <div class="controls">
                <textarea rows="5" class="input-large kind-editor" name="desc"></textarea>
            </div>
        </div>

        <div class="form-item">
            <button class="btn submit-btn ajax-post" id="submit" type="submit" target-form="form-horizontal">确 定</button>
            <button class="btn btn-return" onclick="javascript:history.back(-1);return false;">返 回</button>
        </div>
    </form>
</block>

<block name="script">
    <link rel="stylesheet" href="__PUBLIC__/static/kindeditor/default/default.css" />
    <script charset="utf-8" src="__PUBLIC__/static/kindeditor/kindeditor-min.js"></script>
    <script charset="utf-8" src="__PUBLIC__/static/kindeditor/zh_CN.js"></script>
    <script type="text/javascript">
                KindEditor.ready(function (K) {
                    window.editor = K.create('textarea[class="kind-editor"]', {
                        //allowFileManager : false
                        minWidth: 900,
                        minHeight: 300,
                        afterBlur: function () {
                            this.sync();
                        },
                    });
                });

                //导航高亮
                highlight_subnav("{:U('Desc/index')}");
    </script>
</block>
